package com.carpedil.es.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/** @author Administrator */
@Document(indexName = "code_index")
@Data
public class SourceCodeEntity {
  @Id
  @Field(type = FieldType.Keyword)
  private String sid;

  private String sourceUrl;
  private String sourceCodes;
}
